home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1997 February / PC Shareware 1997-02.iso / programy / e! / api / ewapi2.h_ / ewapi2.H
Encoding:
C/C++ Source or Header  |  1995-03-05  |  17.7 KB  |  486 lines

  1. /*****************************************************************************\
  2. *                                          *
  3. * ewapi2.h -    E! API functions, types, and definitions              *
  4. *                                          *
  5. *        Version 2.0                              *
  6. *                                          *
  7. *        Copyright (c) 1992,1994 MainSoft sarl                  *
  8. *                                          *
  9. ******************************************************************************/
  10.  
  11. #ifndef _INC_EWAPI
  12. #define _INC_EWAPI    /* #defined if ewapi.h has been included */
  13.  
  14. /* Command codes used to identify EW functions from within hook functions */
  15.  
  16. #define ew_MFOpen         201
  17. #define ew_MFNew         202
  18. #define ew_MFClone         203
  19. #define ew_MFGet         204
  20. #define ew_MFWrite         205
  21. #define ew_MFAppend         206
  22. #define ew_MFSave         207
  23. #define ew_MFSaveAs         208
  24. #define ew_MFRefresh         209
  25. #define ew_MFGrep         210
  26. #define ew_MFAssociate         211
  27. #define ew_MFCC          215
  28. #define ew_MFPrint         217
  29. #define ew_MFPrintSetup      218
  30. #define ew_MFPageSetup         219
  31. #define ew_MFExitEditor      221
  32. #define ew_MFExit         222
  33.  
  34. #define ew_MEUndo         301
  35. #define ew_MERedo         325
  36. #define ew_MEClearUndo         302
  37. #define ew_MECut         304
  38. #define ew_MECutAppend         305
  39. #define ew_MECopy         306
  40. #define ew_MECopyAppend      307
  41. #define ew_MEPasteIns         308
  42. #define ew_MEPasteOvr         309
  43. #define ew_MEClear         311
  44. #define ew_MESelectAll         312
  45. #define ew_MEDelete         314
  46. #define ew_MEDraw         316
  47. #define ew_MERecordMac         318
  48. #define ew_MELoadMac         319
  49. #define ew_MESaveMac         320
  50. #define ew_MEReplayMac         321
  51. #define ew_MEReplayMacN      322
  52. #define ew_MEClearMac         323
  53. #define ew_MEAsciiMode         324
  54.  
  55. #define ew_MBSet         401
  56. #define ew_MBGotoMark1         403
  57. #define ew_MBGotoMark2         404
  58. #define ew_MBGotoMark3         405
  59. #define ew_MBRemoveMark1     407
  60. #define ew_MBRemoveMark2     408
  61. #define ew_MBRemoveMark3     409
  62. #define ew_MBGoto         411
  63. #define ew_MBGotoSel         412
  64. #define ew_MBCompare         414
  65.  
  66. #define ew_MSFind         501
  67. #define ew_MSRepeatFind      502
  68. #define ew_MSFindWord         503
  69.  
  70. #define ew_MCCompile         601
  71. #define ew_MCMake         602
  72. #define ew_MCRebuild         603
  73. #define ew_MCDebug         604
  74. #define ew_MCExecute         605
  75. #define ew_MCNext         607
  76. #define ew_MCPrevious         608
  77. #define ew_MCCommands         610
  78. #define ew_MCScan         612
  79. #define ew_MCJumpToDef         613
  80. #define ew_MCEditProject     614
  81. #define ew_MCAddTag         615
  82.  
  83. #define ew_MLSet         701
  84. #define ew_MLSaveCnf         702
  85. #define ew_MLLoadCnf         703
  86. #define ew_MLAssign         705
  87. #define ew_MLExpansion         707
  88.  
  89. #define ew_MWRibbon         801
  90. #define ew_MWCustomRibbon    802
  91. #define ew_MWHide         803
  92. #define ew_MWTile         805
  93. #define ew_MWCascade         806
  94. #define ew_MWHideAll         807
  95. #define ew_MWIconizeAll      808
  96. #define ew_MWScrolling         810
  97. #define ew_MWFont         812
  98. #define ew_MWNextEditor      814
  99. #define ew_MWPrevEditor      815
  100.  
  101. #define ew_MULoadExt         901
  102. #define ew_MUUnloadExt         902
  103. #define ew_MUExecuteExt      903
  104. #define ew_MUAutoLoad         904
  105. #define ew_DefineMenu         906
  106.  
  107. #define ew_AddTab        9001
  108. #define ew_AlternateHelp    9086
  109. #define ew_BlockShift        9010
  110. #define ew_BeginLine        9011
  111. #define ew_CasePrimUpper    9012
  112. #define ew_CasePrimLower    9013
  113. #define ew_CheckBrace        9014
  114. #define ew_ClearLine        9015
  115. #define ew_DeleteCurLine    9016
  116. #define ew_DeleteEOL        9017
  117. #define ew_DeleteLeftChar    9018
  118. #define ew_DeleteWord        9019
  119. #define ew_EndLine        9020
  120. #define ew_Enter        9021
  121. #define ew_GoNextPar        9022
  122. #define ew_GoNextTab        9023
  123. #define ew_GoPrevPar        9024
  124. #define ew_GoPrevTab        9025
  125. #define ew_InputPause        9026
  126. #define ew_InsertBrace        9027
  127. #define ew_InsertDate        9028
  128. #define ew_InsertFilename    9029
  129. #define ew_InsertTime        9030
  130. #define ew_JoinLine        9031
  131. #define ew_LoadUserFile     9032
  132. #define ew_NextCol        9041
  133. #define ew_NextLine        9042
  134. #define ew_NextWord        9043
  135. #define ew_PageBottom        9044
  136. #define ew_PageTop        9045
  137. #define ew_PageScrollHLeft    9046
  138. #define ew_PageScrollHRight    9047
  139. #define ew_PageScrollVDown    9048
  140. #define ew_PageScrollVUp    9049
  141. #define ew_PrevCol        9050
  142. #define ew_PrevLine        9051
  143. #define ew_PrevWord        9052
  144. #define ew_Reflow        9054
  145. #define ew_RemoveTab        9055
  146. #define ew_SetCurLine2Bottom    9056
  147. #define ew_SetCurLine2Middle    9057
  148. #define ew_SetCurLine2Top    9058
  149. #define ew_ShiftTextRight    9059
  150. #define ew_SplitLine        9072
  151. #define ew_StepScrollDown    9073
  152. #define ew_StepScrollLeft    9074
  153. #define ew_StepScrollRight    9075
  154. #define ew_StepScrollUp     9076
  155. #define ew_StripFlow        9077
  156. #define ew_SumBlock        9078
  157. #define ew_TextBoundBegin    9079
  158. #define ew_TextBoundEnd     9080
  159. #define ew_TextToCursor     9081
  160. #define ew_ToggleIns        9082
  161. #define ew_UpcaseFirst        9083
  162. #define ew_UserBlockSort    9084
  163. #define ew_UserFillBlock    9085
  164. #define ew_RibbonMacro1     9088
  165. #define ew_RibbonMacro2     9089
  166. #define ew_RibbonMacro3     9090
  167.  
  168. /* Value that should be returned by EWExecute or by a hook if the extension
  169.    failed. Otherwise return 0 or leave the original EW return code unchanged. */
  170.  
  171. #define ewerr_EXTFAILED 300
  172.  
  173. /* Values returned by EWCallUserExt if the extension could not be executed */
  174.  
  175. #define ewerr_NOSUCHEXTENSION  301
  176. #define ewerr_NOEXECEXPORTED   302
  177.  
  178. /* Values that may be returned after execution of an editing function */
  179.  
  180. #define ewerr_CANTMOVE       351    /* The cursor could not be moved as requested */
  181. #define ewerr_CANTPROCEED  352    /* The function could not be executed  */
  182.  
  183.  /* Values passed by EWSetHook and EWRemoveHook to EW */
  184.  
  185. #define EWHook_FunctionEntry   0
  186. #define EWHook_FunctionExit    1
  187. #define EWHook_KeyboardEntry   2
  188. #define EWHook_PaintEntry      3
  189. #define EWHook_LoadExit        4
  190. #define EWHook_Notify           5
  191.  
  192. /* Values passed by EW to the callback notification hook to identify the event */
  193.  
  194. #define EWNotify_ExitEditor    0
  195. #define EWNotify_CreateClone   1
  196. #define EWNotify_DestroyClone  2
  197. #define EWNotify_FileAutosaved 3
  198. #define EWNotify_FontChanged   4
  199. #define EWNotify_PosChanged    5
  200. #define EWNotify_ActWinChanged 6
  201. #define EWNotify_CharEntry     7
  202. #define EWNotify_CharExit      8
  203. #define EWNotify_CreateEditor  9
  204.  
  205. /* Possible assignment modes when using EWAddMenuEntry */
  206.  
  207. #define EWMNU_Program    0
  208. #define EWMNU_Command    1
  209. #define EWMNU_Macro    2
  210. #define EWMNU_Extension 3
  211.  
  212. /* Global Flags constants */
  213.  
  214. #define  EWGlbShow        1     /* Show edit window when created */
  215. #define  EWGlbShowWild        2     /* Show windows created with wildcards */
  216. #define  EWGlbMinCC        3     /* Iconize CC after creating window */
  217. #define  EWGlbReShowCC        4     /* Reshow CC after edit window creation */
  218. #define  EWGlbDispShortCuts    5     /* Display shortcuts in menus */
  219. #define  EWGlbReplaceSel    6     /* Typing replace Selection */
  220. #define  EWGlbAddOnLast     7     /* Insert with  on last line */
  221. #define  EWGlbFormatFrom    8     /* Format from current line only */
  222. #define  EWGlbExpansion     9     /* Syntax Expansion enabled */
  223. #define  EWGlbAutoMacros       10     /* Auto Macros enabled */
  224. #define  EWGlbEnterClassic     11     /* Split line with Enter */
  225. #define  EWGlbInsert           12     /* Insert on by default */
  226. #define  EWGlbAutoScroll       13     /* Use autoscroll mode */
  227. #define  EWGlbAlarm           14     /* Beep on error */
  228. #define  EWGlbLog           15     /* Maintain session logging */
  229. #define  EWGlbBak           16     /* Create .BAK flags */
  230. #define  EWGlbWarning           17     /* Warning before file overwrite */
  231. #define  EWGlbLoadList           18     /* @xxxx.xxx files are lists */
  232. #define  EWGlbAutosaveOpt      19     /* Autosave options */
  233. #define  EWGlbAutosave           20     /* Autosave files */
  234. #define  EWGlbDeleteOut        21     /* Suppress .ERR file */
  235. #define  EWGlbGrepRegular      22     /* Grep uses Boolean Search */
  236. #define  EWGlbGrepAnsi           23     /* Grep uses Ansi charset */
  237. #define  EWGlbGrepCase           24     /* Grep makes a case sensitive search */
  238. #define  EWGlbGrepSubDir       25     /* Grep searches in subdirectories */
  239. #define  EWGlbJump           26     /* Jump on Home/End */
  240. #define  EWGlbHasScrollbars    27     /* Edit Windows have Scrollbars */
  241. #define  EWGlbHasRibbon        28     /* Edit Windows have a Ribbon */
  242. #define  EWGlbRepaint           29     /* Scroll method */
  243. #define  EWGlbStripJoin        30     /* Strip Spaces when joining lines */
  244. #define  EWGlbSaveBefore       31     /* Autosave Files before compiling */
  245.  
  246. /* New flags */
  247.  
  248. #define  EWGlbHasQuickList     32     /* Ribbon has a QuickList */
  249. #define  EWGlbCompoundWords    33     /* - and _ are delimiters */
  250. #define  EWGlbSmartComp        34     /* Smart Compare */
  251. #define  EWGlbHilite           35     /* Syntax Highlighting is on */
  252. #define  EWGlbUseNoName        36     /* Untitled new files */
  253. #define  EWGlbUseAlt           37     /* Use Alt key instead of Ctrl key for Drag and copy */
  254. #define  EWGlbMacroRefresh     38     /* Refresh screen when replaying macro */
  255.  
  256. /* Local Flags constants */
  257.  
  258. #define  EWLclbBlank       1          /* Strip trailing blanks */
  259. #define  EWLclbAutoBack    2          /* Backspace behaviour */
  260. #define  EWLclbAutoTab       4          /* Autotab flag */
  261. #define  EWLclbAutoInsert  5          /* AutoInsert braces */
  262. #define  EWLclbAutoComp    6          /* AutoCompress tabs */
  263. #define  EWLclbWordWrap    7          /* Wordwrap */
  264. #define  EWLclbJustify       8          /* Right justification */
  265. #define  EWLclbLoadAscii   9          /* Loaded file supposed to be Ascii file */
  266. #define  EWLclbSaveAscii  10          /* Save file in Ascii format */
  267. #define  EWLclbEOF      11          /* Add a Ctrl Z at the end of the file */
  268. #define  EWLclbAutoIndent 12          /* Auto Indentation */
  269.  
  270. /* Search Flags constants */
  271.  
  272. #define  EWSearchbBackward  1          /* Backward search */
  273. #define  EWSearchbBlock     2          /* Search within marked block only */
  274. #define  EWSearchbCase        3          /* Case sensitive search */
  275. #define  EWSearchbKeepCase  4          /* Keep case type when replacing string */
  276. #define  EWSearchbGlobal    5          /* Global Search */
  277. #define  EWSearchbGothru    6          /* Replace without prompting */
  278. #define  EWSearchbRegular   7          /* Boolean search flag */
  279. #define  EWSearchbWord        8          /* Word-only search */
  280. #define  EWSearchbAcross    9          /* Search across edited files */
  281.  
  282. /* Compile command codes */
  283.  
  284. #define  EWCompileCommand   0
  285. #define  EWMakeCommand        1
  286. #define  EWBuildCommand     2
  287. #define  EWDebugCommand     3
  288. #define  EWExecuteCommand   4
  289.  
  290. /* Macro string codes */
  291.  
  292. #define  EWMacro_Time        0
  293. #define  EWMacro_Date        1
  294. #define  EWMacro_FileName   2
  295.  
  296. /* Position codes */
  297.  
  298. #define  EWPosition_Top     0
  299. #define  EWPosition_Middle  1
  300. #define  EWPosition_Bottom  2
  301.  
  302. /* Selection modes */
  303.  
  304. #define  EWSelection_None   0
  305. #define  EWSelection_Line   1
  306. #define  EWSelection_Stream 2
  307. #define  EWSelection_Block  3
  308.  
  309. /* Write modes for EWWriteBlock */
  310.  
  311. #define EWWrite_ReWrite     1
  312. #define EWWrite_Append        2
  313.  
  314. typedef struct tagTSelStruct
  315. {
  316.  
  317.   unsigned int SelType;
  318.   long FirstSelLine;
  319.   long LastSelLine;
  320.   long StartSelIndex;
  321.   long EndSelIndex;
  322.   int FirstSelCol;
  323.   int LastSelCol;
  324.  
  325. } TSelStruct;
  326.  
  327. typedef TSelStruct FAR* PSelStruct;
  328.  
  329. typedef void (FAR PASCAL* TEnumEditorsProc)(long EditorId, char FAR* Name);
  330. typedef void (FAR PASCAL* TEnumClonesProc)(HANDLE CloneHandle, BYTE CloneId);
  331. typedef int  (FAR PASCAL* TFuncEntryHook)(unsigned int command);
  332. typedef int  (FAR PASCAL* TFuncExitHook)(unsigned int command, int FAR* pRetcode);
  333. typedef int  (FAR PASCAL* TKbdEntryHook)(MSG MSg);
  334. typedef int  (FAR PASCAL* TPaintEntryHook)(HDC DC,
  335.                        PAINTSTRUCT FAR* PaintInfo,
  336.                        PSelStruct SelInfo,
  337.                        HANDLE hWindow);
  338. typedef int  (FAR PASCAL* TLoadExitHook)(long EditorId);
  339. typedef int  (FAR PASCAL* TNotifyHook)(unsigned int code, unsigned int wParam, long lParam);
  340. typedef int  (FAR PASCAL* TExecFunc)(unsigned int MenuId);
  341.  
  342.  
  343. #ifdef __cplusplus
  344. extern "C" {
  345. #endif
  346.  
  347. /* Editing functions */
  348.  
  349. int FAR PASCAL EWAddTab(int col, unsigned int fAdd);
  350. int FAR PASCAL EWAlternateHelp(int col, long row);
  351. int FAR PASCAL EWBeginLine(unsigned int fSkipToPrev);
  352. int FAR PASCAL EWBlockShift(void);
  353. int FAR PASCAL EWBlockSort(unsigned int fAscend);
  354. int FAR PASCAL EWCase(unsigned int fUpper);
  355. int FAR PASCAL EWCheckBrace(int col, long row);
  356. int FAR PASCAL EWClearLine(long row);
  357. int FAR PASCAL EWExecCompileCommand(unsigned int commandindex);
  358. int FAR PASCAL EWDeleteChar(void);
  359. int FAR PASCAL EWDeleteCurLine(void);
  360. int FAR PASCAL EWDeleteEOL(void);
  361. int FAR PASCAL EWDeleteLeft(unsigned int fDeleteCurrent);
  362. int FAR PASCAL EWDeleteLines(long start, long num);
  363. int FAR PASCAL EWDeleteSelection(void);
  364. int FAR PASCAL EWDeleteWord(void);
  365. int FAR PASCAL EWEndLine(unsigned int fSkipToNext, unsigned int fStrip);
  366. int FAR PASCAL EWFillBlock(unsigned char ch);
  367. int FAR PASCAL EWGetFile(char FAR* Name, long row);
  368. int FAR PASCAL EWGotoBookmark(unsigned int index);
  369. int FAR PASCAL EWGotoNextParagraph(void);
  370. int FAR PASCAL EWGotoNextTab(void);
  371. int FAR PASCAL EWGotoPrevTab(void);
  372. int FAR PASCAL EWGotoPrevParagraph(void);
  373. int FAR PASCAL EWGotoCompileError(unsigned int fNext);
  374. int FAR PASCAL EWGotoLine(long row);
  375. int FAR PASCAL EWGotoXY(int col, long row);
  376. int FAR PASCAL EWGotoSelection(unsigned int fBegin);
  377. int FAR PASCAL EWInsertBrace(int col, long row);
  378. int FAR PASCAL EWInsertLines(long start, long num);
  379. int FAR PASCAL EWInsertMacroText(int col, long row, unsigned int macrotype);
  380. int FAR PASCAL EWJoinLine(long row);
  381. int FAR PASCAL EWLoadUserFile(int col, long row);
  382. int FAR PASCAL EWNextCol(void);
  383. int FAR PASCAL EWNextLine(void);
  384. int FAR PASCAL EWNextWord(unsigned int fNext);
  385. int FAR PASCAL EWTopOfPage(unsigned int fTop);
  386. int FAR PASCAL EWHorzPageScroll(unsigned int fLeft);
  387. int FAR PASCAL EWVerPageScroll(unsigned int fUp);
  388. int FAR PASCAL EWPrevCol(void);
  389. int FAR PASCAL EWPrevLine(void);
  390. int FAR PASCAL EWPaste(unsigned int fInsert);
  391. int FAR PASCAL EWReflow(int long);
  392. int FAR PASCAL EWRefresh(unsigned int bAsk);
  393. int FAR PASCAL EWRemoveBookmark(unsigned int index);
  394. int FAR PASCAL EWSaveFile(char FAR* Name);
  395. int FAR PASCAL EWSelectAll(void);
  396. int FAR PASCAL EWSetBookmark(int col, long row);
  397. int FAR PASCAL EWSetClipboard(unsigned int fAppend);
  398. int FAR PASCAL EWPositionCurLine(unsigned int position);
  399. int FAR PASCAL EWShiftTextRight(int col, long row, int count);
  400. int FAR PASCAL EWSplitLine(int col, long row);
  401. int FAR PASCAL EWStepScroll(int dX, long dY);
  402. int FAR PASCAL EWSumBlock(void);
  403. int FAR PASCAL EWStripFlow(void);
  404. int FAR PASCAL EWTopOfText(unsigned int fTop);
  405. int FAR PASCAL EWTextToCursor(void);
  406. int FAR PASCAL EWToggleInsert(void);
  407. int FAR PASCAL EWUpcaseFirst(int col, long row);
  408. int FAR PASCAL EWWriteBlock(long startrow,
  409.                 long endrow,
  410.                 int startcol,
  411.                 int endcol,
  412.                 char FAR* Name,
  413.                 unsigned int mode,
  414.                 unsigned int fBlock,
  415.                 unsigned int fCompress);
  416.  
  417.  
  418. /* Service functions */
  419.  
  420. long FAR PASCAL EWAddMenuEntry(char FAR* Command,
  421.                    char FAR* Title,
  422.                    unsigned int CommandId,
  423.                    unsigned int AssignMode,
  424.                    unsigned int RoutineId);
  425. int FAR PASCAL EWBeginSelection(unsigned int SelType, int col, long row);
  426. int FAR PASCAL EWCallUserExt(char FAR* Name, unsigned int RoutineId);
  427. long FAR PASCAL EWEditFile(char FAR* Name);
  428. int FAR PASCAL EWEndSelection(void);
  429. void FAR PASCAL EWEnumClones(long EditorId, TEnumClonesProc CloneEnumProc);
  430. void FAR PASCAL EWEnumEditors(TEnumEditorsProc EdEnumProc);
  431. long FAR PASCAL EWFind(unsigned int FAR* MatchLen, unsigned int FAR* col);
  432. int FAR PASCAL EWFindRegular(char FAR* src,
  433.                  char FAR* dest,
  434.                  unsigned int FAR* MatchLen);
  435. int FAR PASCAL EWGetCaretPosX(void);
  436. long FAR PASCAL EWGetCaretPosY(void);
  437. unsigned int FAR PASCAL EWGetCloneNum(void);
  438. long FAR PASCAL EWGetCurWord(void);
  439. long FAR PASCAL EWGetCurrentEditor(void);
  440. char FAR* FAR PASCAL EWGetFileName(long EditorId);
  441. int FAR PASCAL    EWGetGlobalFlag(unsigned int FlagId);
  442. unsigned int FAR PASCAL EWGetInsertState(void);
  443. char FAR* FAR PASCAL EWGetLineAt(long index);
  444. long FAR PASCAL EWGetLineCount(void);
  445. int FAR PASCAL EWGetLocalFlag(unsigned int FlagId);
  446. int FAR PASCAL EWGetSearchFlag(unsigned int FlagId);
  447. void FAR PASCAL EWGetSelection(PSelStruct Selection);
  448. int FAR PASCAL EWGetTextPosX(void);
  449. long FAR PASCAL EWGetTextPosY(void);
  450. unsigned int FAR PASCAL EWGetVersion(void);
  451. unsigned int FAR PASCAL EWGetWindowHandle(void);
  452. int FAR PASCAL EWMessageBox(HWND WndParent, LPCSTR Txt, LPCSTR Caption, UINT TextType);
  453. void FAR PASCAL EWRemoveHook(unsigned int hFlag, void FAR* HookAddress);
  454. int FAR PASCAL EWRemoveMenuEntry(long Id);
  455. long FAR PASCAL EWRepeatFind(unsigned int FAR* MatchLen);
  456. long FAR PASCAL EWSetCurrentEditor(long EditorId);
  457. void FAR PASCAL EWSetFindPattern(char FAR* pattern);
  458. int FAR PASCAL EWSetGlobalFlag(unsigned int FlagId, unsigned int value);
  459. void FAR PASCAL EWSetHook(unsigned int hFlag, void FAR* HookAddress);
  460. int FAR PASCAL EWSetLineAt(char FAR* P, long index);
  461. int FAR PASCAL EWSetLocalFlag(unsigned int FlagId, unsigned int value);
  462. void FAR PASCAL EWSetModified(void);
  463. int FAR PASCAL EWSetSearchFlag(unsigned int FlagId, unsigned int value);
  464. int FAR PASCAL EWStopSelection(int col, long row);
  465. int FAR PASCAL EWUpdateSelection(int col, long row);
  466. void FAR PASCAL EWWriteMessage(char FAR* message);
  467. unsigned int FAR PASCAL EWGetTextWindowHandle(void);
  468. unsigned int FAR PASCAL EWGetInstance(void);
  469. unsigned int FAR PASCAL EWIsModified(void);
  470. int FAR PASCAL EWGetEditorLocalFlag(unsigned int FlagId);
  471. int FAR PASCAL EWSetEditorLocalFlag(unsigned int FlagId, unsigned int value);
  472. int FAR PASCAL EWSaveAll();
  473. int FAR PASCAL EWGetEditorCount();
  474. int FAR PASCAL EWGetPrjName(char FAR* PrjName);
  475. void FAR PASCAL EWAsynchEditFile(char FAR* Name);
  476.  
  477. /* Please see Technical Note #008 before using these functions */
  478. void FAR PASCAL EWSetEditorId(long EditorId);
  479. void FAR PASCAL EWSetWindowHandle(unsigned int H);
  480.  
  481. #ifdef __cplusplus
  482. }
  483. #endif
  484.  
  485. #endif /* _INC_EWAPI */
  486.